package com.spr.gw.service;

import com.spr.gw.common.ResultBean;
import com.spr.gw.entity.Category;

import java.util.List;

public interface SinglePageService {
    ResultBean<List<Category>> findAll();

    ResultBean<Category> findOne(Integer id);

    ResultBean<Category> addOrUpdate(Category category);

    ResultBean<Category> deleteOne(Integer id);
}
